<script>
import parent from "./components/parent.vue";

export default {
  components: {
    parent
  }
}
</script>

<template>
  <div>子组件也可以向父组件传递数据，需要使用自定义事件：$emit</div>
  <parent />
</template>

<style scoped></style>